import updateButtonStatus from "./updateButtonStatus";

export default function cleanMainTableData() {
    const {pageInfo} = this.state;

    this.setState({
        //hasSearched: false,
        pageInfo: {
            ...pageInfo,
            pageIndex: 1,
            total: 0
        },
        exportAllpks: []
    }, () => {
        updateButtonStatus.call(this);
    });
    this.props.table.setAllTableData('ncc60071702list', {rows: []});
}
